export const DELIVER_METHOD_NUMBER = {
  //同城配送:PUB_LOCAL 堂食:PUB_HALL_FOOD 打包:PUB_PACK 到店消费:PUB_SHOP_CONSUME 自提:PUB_SELF_PICKUP
  PUB_LOCAL: 7,
  PUB_HALL_FOOD: 4,
  PUB_PACK: 5,
  PUB_SHOP_CONSUME: 6,
  PUB_SELF_PICKUP: 8,
};

export const GLOBAL_ORDER_DELIVER_METHOD = {
  //同城配送:PUB_LOCAL 堂食:PUB_HALL_FOOD 打包:PUB_PACK 到店消费:PUB_SHOP_CONSUME 自提:PUB_SELF_PICKUP
  PUB_LOCAL: "PUB_LOCAL",
  PUB_HALL_FOOD: "PUB_HALL_FOOD",
  PUB_PACK: "PUB_PACK",
  PUB_SHOP_CONSUME: "PUB_SHOP_CONSUME",
  PUB_SELF_PICKUP: "PUB_SELF_PICKUP",
};

export const GLOBAL_ORDER_DELIVER_METHOD_TEXT = {
  //同城配送:PUB_LOCAL 堂食:PUB_HALL_FOOD 打包:PUB_PACK 到店消费:PUB_SHOP_CONSUME 自提:PUB_SELF_PICKUP
  [GLOBAL_ORDER_DELIVER_METHOD.PUB_LOCAL]: "外卖配送",
  [GLOBAL_ORDER_DELIVER_METHOD.PUB_HALL_FOOD]: "堂食",
  [GLOBAL_ORDER_DELIVER_METHOD.PUB_PACK]: "打包",
  [GLOBAL_ORDER_DELIVER_METHOD.PUB_SHOP_CONSUME]: "到店消费",
  [GLOBAL_ORDER_DELIVER_METHOD.PUB_SELF_PICKUP]: "自提",
};

export const DELIVERY_METHOD_TEXT = {
  //同城配送:PUB_LOCAL 堂食:PUB_HALL_FOOD 打包:PUB_PACK 到店消费:PUB_SHOP_CONSUME 自提:PUB_SELF_PICKUP
  [DELIVER_METHOD_NUMBER.PUB_LOCAL]: GLOBAL_ORDER_DELIVER_METHOD_TEXT.PUB_LOCAL,
  [DELIVER_METHOD_NUMBER.PUB_HALL_FOOD]:
    GLOBAL_ORDER_DELIVER_METHOD_TEXT.PUB_HALL_FOOD,
  [DELIVER_METHOD_NUMBER.PUB_PACK]: GLOBAL_ORDER_DELIVER_METHOD_TEXT.PUB_PACK,
  [DELIVER_METHOD_NUMBER.PUB_SHOP_CONSUME]:
    GLOBAL_ORDER_DELIVER_METHOD_TEXT.PUB_SHOP_CONSUME,
  [DELIVER_METHOD_NUMBER.PUB_SELF_PICKUP]:
    GLOBAL_ORDER_DELIVER_METHOD_TEXT.PUB_SELF_PICKUP,
};
